Optimal. Leaf size=52 \[ \frac{(c x)^{n+1} \left (a+b x^n\right )^{p+1} \, _2F_1\left (1,p+\frac{1}{n}+2;2+\frac{1}{n};-\frac{b x^n}{a}\right )}{a c (n+1)} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0613631, antiderivative size = 62, normalized size of antiderivative = 1.19, number of steps used = 2, number of rules used = 2, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.133 \[ \frac{(c x)^{n+1} \left (a+b x^n\right )^p \left (\frac{b x^n}{a}+1\right )^{-p} \, _2F_1\left (1+\frac{1}{n},-p;2+\frac{1}{n};-\frac{b x^n}{a}\right )}{c (n+1)} \]
Antiderivative was successfully verified.
[In] Int[(c*x)^n*(a + b*x^n)^p,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 8.93175, size = 48, normalized size = 0.92 \[ \frac{\left (c x\right )^{n + 1} \left (1 + \frac{b x^{n}}{a}\right )^{- p} \left (a + b x^{n}\right )^{p}{{}_{2}F_{1}\left (\begin{matrix} - p, \frac{n + 1}{n} \\ 2 + \frac{1}{n} \end{matrix}\middle |{- \frac{b x^{n}}{a}} \right )}}{c \left (n + 1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((c*x)**n*(a+b*x**n)**p,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0695096, size = 58, normalized size = 1.12 \[ \frac{x (c x)^n \left (a+b x^n\right )^p \left (\frac{b x^n}{a}+1\right )^{-p} \, _2F_1\left (1+\frac{1}{n},-p;2+\frac{1}{n};-\frac{b x^n}{a}\right )}{n+1} \]
Antiderivative was successfully verified.
[In] Integrate[(c*x)^n*(a + b*x^n)^p,x]
[Out]
_______________________________________________________________________________________
Maple [F] time = 0.104, size = 0, normalized size = 0. \[ \int \left ( cx \right ) ^{n} \left ( a+b{x}^{n} \right ) ^{p}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((c*x)^n*(a+b*x^n)^p,x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int{\left (b x^{n} + a\right )}^{p} \left (c x\right )^{n}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^n + a)^p*(c*x)^n,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \[{\rm integral}\left ({\left (b x^{n} + a\right )}^{p} \left (c x\right )^{n}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^n + a)^p*(c*x)^n,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-2)] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: TypeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x)**n*(a+b*x**n)**p,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int{\left (b x^{n} + a\right )}^{p} \left (c x\right )^{n}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^n + a)^p*(c*x)^n,x, algorithm="giac")
[Out]